<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>生兔崽子</title>
	<script type="text/javascript">
	var a=[];
	var n=prompt("请输入第N个月","");
	a[0]=1;
	a[1]=1;
	for(var i=2;i<n;i++){
		a[i]=a[i-1]+a[i-2]
	}
	//document.write(a[n-1]);
	for(var x in a){
		document.write(a[x]+"&nbsp;");
	}
	</script>
</head>
<body>
	
</body>
</html>